Automattic\Jetpack\Connection\Manager D

Total Complexity 293
Dependencies 33
Dependents 94
Total lines 2,518
Lines of code 1,260
Logical lines of code 621
Comment lines 931
Methods 81
Properties 6

Methods 81

Method Rating Maintainability Complexity Lines of code
internal_verify_xml_rpc_signature()
D
29 31 118
register()
B
32 15 114
validate_remote_register_response()
A
41 13 59
authorize()
A
42 12 50
setup_xmlrpc_handlers()
A
45 11 41
restore()
A
52 10 26
refresh_blog_token()
A
45 9 39
get_connected_users()
A
52 10 23
is_usable_domain()
A
43 7 61
disconnect_user()
A
54 9 21
disconnect_site()
A
49 8 30
jetpack_connection_custom_caps()
A
54 8 23
get_connection_owner()
S
50 6 30
disconnect_site_wpcom()
S
59 7 14
try_registration()
S
53 6 23
update_connection_owner()
S
48 5 36
get_connected_user_data()
S
53 5 25
delete_all_connection_tokens()
S
54 5 21
get_authorization_url()
S
43 3 47
authenticate_jetpack()
S
58 5 17
configure()
S
49 4 32
add_stats_to_heartbeat()
S
60 5 13
jetpack_get_options()
S
48 3 37
get_assumed_site_creation_date()
S
49 3 33
connect_user()
S
58 4 16
get_site_id()
S
61 4 12
verify_xml_rpc_signature()
S
64 4 10
xmlrpc_options()
S
57 2 17
update_connection_owner_wpcom()
S
59 2 17
add_register_request_param()
S
69 3 6
apply_activation_source_to_args()
S
64 3 10
__construct()
S
73 3 5
is_site_connection()
S
77 3 3
remove_non_jetpack_xmlrpc_methods()
S
65 3 9
is_user_connected()
S
68 3 7
handle_registration()
S
67 2 7
get_connected_plugins()
S
70 2 7
xmlrpc_methods()
S
74 2 4
is_connected()
S
72 2 5
require_jetpack_authentication()
S
66 2 8
get_max_execution_time()
S
69 2 7
set_min_time_limit()
S
68 2 8
is_missing_connection_owner()
S
69 2 7
clean_nonces()
S
74 2 4
public_xmlrpc_methods()
S
70 2 6
get_connection_owner_id()
S
74 2 4
is_connection_owner()
S
71 2 6
unlink_user_from_wpcom()
S
67 2 8
alternate_xmlrpc()
S
63 1 11
api_url()
S
63 1 11
reset_saved_auth_state()
S
81 1 3
sign_role()
S
79 1 3
is_plugin_enabled()
S
82 1 3
set_plugin_instance()
S
77 1 4
get_plugin()
S
82 1 3
disable_plugin()
S
82 1 3
enable_plugin()
S
82 1 3
refresh_user_token()
S
73 1 5
get_signed_token()
S
75 1 4
initialize_rest_api_registration_connector()
S
81 1 3
reset_raw_post_data()
S
81 1 3
xmlrpc_api_url()
S
67 1 8
get_access_token()
S
74 1 4
remove_connection()
S
76 1 4
add_nonce()
S
75 1 4
is_userless()
S
75 1 4
generate_secrets()
S
78 1 3
get_secrets()
S
75 1 4
delete_secrets()
S
75 1 4
has_connected_owner()
S
80 1 3
has_connected_user()
S
78 1 3
reconnect()
S
73 1 5
is_active()
S
80 1 3
has_connected_admin()
S
79 1 3
validate_tokens()
S
75 1 4
verify_secrets()
S
74 1 4
handle_authorization()
S
91 1 2
is_registered()
S
76 1 4
get_tokens()
S
81 1 3
sha1_base64()
S
79 1 3
get_token()
S
79 1 3